# 设置最低 CMake 版本
cmake_minimum_required(VERSION 3.10)

# 项目信息
project(GrabMultipleCamera)

# 包含头文件路径
include_directories(../../../include)

#查找opencv
find_package(OpenCV REQUIRED)

#包含opencv头文件
include_directories(${OpenCV_INCLUDE_DIRS})


# 设置链接库路径
link_directories($ENV{MVCAM_COMMON_RUNENV}/aarch64)

# 添加可执行文件
add_executable(GrabMultipleCamera GrabMultipleCamera.cpp)
# add_executable(GrabMultipleCamera_V2 GrabMultipleCamera_V2.cpp)

# 链接库
target_link_libraries(GrabMultipleCamera MvCameraControl pthread ${OpenCV_LIBS})
# target_link_libraries(GrabMultipleCamera_V2 MvCameraControl pthread)

